﻿using UnityEngine;
using System.Collections;

public class GameMain : MonoBehaviour 
{
    private static GameMain _instance;
    public static GameMain Instance
    {
        get
        {
            if (_instance == null)
            {
                _instance = GameObject.Find("GameMain").GetComponent<GameMain>();
            }
            return _instance;
        }
    }

    void Awake()
    {
        WorldmapDataMgr.LoadWorld();
		CharacterDataMgr.LoadData();
    }

	void Start () 
    {
        GameCommon.LoadScene(GameCommon.GameMode.play);
        //Application.LoadLevelAdditive("PlayTestScene");
	}

    void Update()
    {
        
    }
	
}
